projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1324d26
)
(math-check-known-scalarp): Make sure expression is a symbol before
author
Jay Belanger
<jay.p.belanger@gmail.com>
Tue, 14 Feb 2006 21:38:57 +0000
(21:38 +0000)
committer
Jay Belanger
<jay.p.belanger@gmail.com>
Tue, 14 Feb 2006 21:38:57 +0000
(21:38 +0000)
checking that it is bound.
lisp/calc/calc-arith.el
patch
|
blob
|
history
diff --git
a/lisp/calc/calc-arith.el
b/lisp/calc/calc-arith.el
index a5f25e2464e510d572d4972333463e14e1d647d2..ec09ae293182deb3ef67e4ade399570d9591a432 100644
(file)
--- a/
lisp/calc/calc-arith.el
+++ b/
lisp/calc/calc-arith.el
@@
-334,6
+334,7
@@
((memq 'scalar (nth 1 decl))
t)
((and (eq (car a) 'var)
+ (symbolp (nth 2 a))
(boundp (nth 2 a))
(setq val (symbol-value (nth 2 a))))
(math-check-known-scalarp val))